/*
 *
 *
 */

#ifndef GKT_USER_FINGERPRINT_H
#define GKT_USER_FINGERPRINT_H

#if defined(GKT_CONFIG_FPS_ENABLE) && GKT_CONFIG_FPS_ENABLE

#define GKT_USER_FINGERPRINT_ENABLE	1

#define GKT_USER_FINGERPRINT_ADMIN_MAXNUMS	\
	GKT_CONFIG_USER_FINGERPRINT_ADMIN_MAXNUMS
#define GKT_USER_FINGERPRINT_NORMAL_MAXNUMS	\
	GKT_CONFIG_USER_FINGERPRINT_NORMAL_MAXNUMS
#ifdef GKT_CONFIG_USER_FINGERPRINT_GUEST_MAXNUMS
#define GKT_USER_FINGERPRINT_GUEST_MAXNUMS	\
	GKT_CONFIG_USER_FINGERPRINT_GUEST_MAXNUMS
#else
#define GKT_USER_FINGERPRINT_GUEST_MAXNUMS	0
#endif

#define GKT_USER_FINGERPRINT_MAXNUMS	\
	(GKT_USER_FINGERPRINT_ADMIN_MAXNUMS \
		+ GKT_USER_FINGERPRINT_NORMAL_MAXNUMS \
		+ GKT_USER_FINGERPRINT_GUEST_MAXNUMS)

#ifdef GKT_CONFIG_USER_FINGERPRINT_ENROLL_MAX_SAMPLES
#define USER_FINGERPRINT_ENROLL_MAX_SAMPLES	\
	GKT_CONFIG_USER_FINGERPRINT_ENROLL_MAX_SAMPLES
#else
#define USER_FINGERPRINT_ENROLL_MAX_SAMPLES	3
#endif

#define USER_FINGERPRINT_ENROLL_MAX_LOOPS	\
	(USER_FINGERPRINT_ENROLL_MAX_SAMPLES * 2)

#else

#define GKT_USER_FINGERPRINT_ENABLE	0

#define GKT_USER_FINGERPRINT_ADMIN_MAXNUMS	0
#define GKT_USER_FINGERPRINT_NORMAL_MAXNUMS	0
#define GKT_USER_FINGERPRINT_GUEST_MAXNUMS	0

#endif

#endif	/* GKT_USER_FINGERPRINT_H */

